package sh.grapendaal.tsuushin.core;

import sh.grapendaal.tsuushin.message.IncomingMessage;

/**
 * This interface specifies a callback for a command.
 */
public interface RunnableCommand {
	/**
	 * This method is called when a command is activated.
	 * 
	 * @param context
	 *            The current context.
	 * @param message
	 *            The received message.
	 * @return Boolean indicating whether processing should continue.
	 */
	boolean run(Context context, IncomingMessage message);
}
